﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Ent.aspx.cs" Inherits="PlugNT.Cms.Web.Ent" %>

<%@ Register Src="Control/Foot.ascx" TagName="Foot" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <% =PlugNT.Cms.Page.DataHelper.GetFile("/templet/include/_head2.htm")%>
    <link href="/Css/home.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/Js/jquery.js"></script>
    <script type="text/javascript" src="/Js/show.js"></script>
    <link href="Css/SupplyStyle.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <% =PlugNT.Cms.Page.DataHelper.GetFile("/templet/include/_toper.htm")%>
    <div id="container2">
        <% =PlugNT.Cms.Page.DataHelper.GetFile("/templet/include/_top.htm")%>
        <!-----------search--------------->
        <div class="clear">
        </div>
        <div class="Crumbs">
            <ul>
                <li class="col4">所有类目 </li>
                <li class="result">共找到<span> <span>
                    <%=this.TotalCount.ToString()%></span> </span>条
                    <h1>
                        <%=Request.QueryString["key"]!=null?Request.QueryString["key"].ToString():""%></h1>
                    企业信息 </li>
            </ul>
            <div class="clear">
            </div>
        </div>
        <!-------------引导---------------->
        <div class="detail_list">
            <div class="content7">
                <div class="clear">
                </div>
                <%if (this.UserList.Count > 0)
                  {
                      foreach (FJASPX.Domain.User model in this.UserList)
                      {%>
                <div class="list">
                    <dl>
                        <dt></dt>
                        <dd class="titlelist">
                            <a target="_blank" href="/home<%=model.Id%>.aspx">
                                <%=this.ReplaceTitle(model.CompanyName)%></a>
                            <p>
                                <%=(string.IsNullOrEmpty(model.CompanyInfo) ? "" :FJASPX.Framwork.Helper.StringHelper.CutString(FJASPX.Framwork.Helper.StringHelper.ClearHtml(model.CompanyInfo), 200))%></p>
                            <ul>
                                <li>联系电话：<%=model.Mobile%></li>
                                <li>联系人：<%=model.RealName%></li>
                            </ul>
                        </dd>
                        <dd class="city" style="WIDTH: 250px;">
                            <ul>
                                <li>地址：
                                    <%=model.Address%></li>
                            </ul>
                        </dd>
                </div>
                <%}
                  }
                  else
                  {
                      Response.Write("暂无搜索到结果!");

                  }%>
                <!--------------热门------------------------->
                <div class="clear">
                </div>
                <div class="pager">
                    <% int page = 1;
                       if (Request.QueryString["page"] != null)
                       {
                           page = Convert.ToInt32(Request.QueryString["page"]);
                       }%>
                    <%  
                        Response.Write(PlugNT.Cms.Page.DataHelper.GetPagination((int)this.TotalCount, 24, page, "Ent.aspx", "key=" + (string.IsNullOrEmpty(Request.QueryString["key"]) ? "" : Request.QueryString["key"].ToString()) + "&page",
                    "", false, false));%>
                </div>
            </div>
            <div id="sidebar">
                <div class="column">
                    <a href="#">
                        <img src="/images/ad.jpg" /></a>
                </div>
            </div>
        </div>
        <div class="clear">
        </div>
        <div id="hot">
            <div class="hot_search-img">
                <div class="hot_header col4">
                    <a href="" class=" fr mr" style="PADDING-TOP: 6px; FONT-SIZE: 12px;">更多&gt;&gt;</a>
                    <h3 class="fl">
                        热门推荐</h3>
                </div>
                <ul class="hot_content2">
                </ul>
                <div class="clear">
                </div>
            </div>
        </div>
    </div>
    <div class="clear">
    </div>
    <div class="out-footer">
        <div class="footer">
            <uc1:Foot ID="Foot1" runat="server" />
        </div>
    </div>
</body>
</html>
